<script setup lang="ts">
import ChannelNav from './components/ChannelNav.vue'
import ArticleList from './components/ArticleList.vue'
import { ref } from 'vue'
const currId = ref<number>(-1)
const setCurrId = (id: number) => {
  currId.value = id
}
</script>

<template>
  <ChannelNav :currId="currId" @setCurrId="setCurrId"></ChannelNav>
  <ArticleList :currId="currId"></ArticleList>
</template>
